﻿2026-06-23T06:59:54.8937707Z ##[group]Run cargo nextest run --workspace --no-fail-fast -E '(package(spt-daemon) & kind(test) & binary(/^(attach|brain_swap|broker|budget|daemon_e2e|daemon_lifecycle_real_brain|digest|dispatch|driven_by_selfheal|handoff|idempotent|inject_control_wedge|input_ack_deadlock|resume|shellchan|two_origin_spanning|twohost)$/)) | (package(spt) & kind(test) & binary(/^(attach_wedge_e2e|bind_cwd_project_e2e|brain_respawn_rename|brain_restart_psyche_dup_e2e|brain_split|brain_survive|dummy_harness_e2e|gateway_owner_shell_e2e|job_escape_e2e|livehost_bootgate_e2e|livehost_bootrace_e2e|livehost_nonresident_e2e|livehost_psyche_fail_e2e|n1_pairing|oneliner_e2e|resume_template_e2e|unhost_psyche_reap_e2e)$/)) | (package(spt-term) & kind(test))'
2026-06-23T06:59:54.8940830Z [36;1mcargo nextest run --workspace --no-fail-fast -E '(package(spt-daemon) & kind(test) & binary(/^(attach|brain_swap|broker|budget|daemon_e2e|daemon_lifecycle_real_brain|digest|dispatch|driven_by_selfheal|handoff|idempotent|inject_control_wedge|input_ack_deadlock|resume|shellchan|two_origin_spanning|twohost)$/)) | (package(spt) & kind(test) & binary(/^(attach_wedge_e2e|bind_cwd_project_e2e|brain_respawn_rename|brain_restart_psyche_dup_e2e|brain_split|brain_survive|dummy_harness_e2e|gateway_owner_shell_e2e|job_escape_e2e|livehost_bootgate_e2e|livehost_bootrace_e2e|livehost_nonresident_e2e|livehost_psyche_fail_e2e|n1_pairing|oneliner_e2e|resume_template_e2e|unhost_psyche_reap_e2e)$/)) | (package(spt-term) & kind(test))'[0m
2026-06-23T06:59:54.9017661Z shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
2026-06-23T06:59:54.9017881Z env:
2026-06-23T06:59:54.9018000Z   SPT_ATTACH_GATE_WATCHDOG_MS: 120000
2026-06-23T06:59:54.9018166Z   SPT_ATTACH_IPC_DEADLINE_MS: 30000
2026-06-23T06:59:54.9018312Z ##[endgroup]
2026-06-23T06:59:56.2501190Z     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.57s
2026-06-23T07:00:12.5205273Z ────────────
2026-06-23T07:00:12.5205667Z  Nextest run ID 8ac8f6af-f270-4dfe-b15d-2d14dbd7d0e6 with nextest profile: default
2026-06-23T07:00:12.5206149Z     Starting 91 tests across 39 binaries (52 binaries skipped)
2026-06-23T07:00:19.5067366Z         PASS [   6.986s] ( 1/91) spt::attach_wedge_e2e attach_wedge_dead_child_plus_dropped_pump_does_not_wedge_the_broker
2026-06-23T07:00:21.4519227Z         PASS [   1.945s] ( 2/91) spt::bind_cwd_project_e2e endpoint_run_records_cwd_and_appears_under_its_project
2026-06-23T07:00:35.7257183Z         PASS [  14.274s] ( 3/91) spt::brain_respawn_rename brain_respawns_onto_applied_bytes_after_in_place_rename
2026-06-23T07:00:52.6272661Z         PASS [  16.901s] ( 4/91) spt::brain_restart_psyche_dup_e2e brain_restart_leaves_exactly_one_psyche_per_endpoint
2026-06-23T07:00:59.7573584Z         PASS [   7.130s] ( 5/91) spt::brain_split broker_survives_brain_kill_and_respawns_it
2026-06-23T07:01:07.0151145Z         PASS [   7.258s] ( 6/91) spt::brain_split seed_anchor_survives_brain_cycle
2026-06-23T07:01:14.5876703Z         PASS [   7.572s] ( 7/91) spt::brain_survive pty_and_quic_survive_brain_process_restart_onto_swapped_binary
2026-06-23T07:01:21.8529255Z         FAIL [   7.263s] ( 8/91) spt::dummy_harness_e2e endpoint_run_attach_awaits_online_before_attaching
2026-06-23T07:01:21.8529715Z   stdout ───
2026-06-23T07:01:21.8529784Z 
2026-06-23T07:01:21.8529834Z     running 1 test
2026-06-23T07:01:21.8530010Z     test endpoint_run_attach_awaits_online_before_attaching ... FAILED
2026-06-23T07:01:21.8530171Z 
2026-06-23T07:01:21.8530218Z     failures:
2026-06-23T07:01:21.8530282Z 
2026-06-23T07:01:21.8530328Z     failures:
2026-06-23T07:01:21.8530467Z         endpoint_run_attach_awaits_online_before_attaching
2026-06-23T07:01:21.8530603Z 
2026-06-23T07:01:21.8530763Z     test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 1 filtered out; finished in 7.25s
2026-06-23T07:01:21.8531009Z 
2026-06-23T07:01:21.8531071Z   stderr ───
2026-06-23T07:01:21.8531390Z     === DIAGNOSTIC (ONLINE-RACE): online_1=true went_offline=true saw_tick=false bailed_offline=true bailed_no_session=false run_stdout_bytes=128 ===
2026-06-23T07:01:21.8532820Z     === endpoint run stdout (first 800) ===
2026-06-23T07:01:21.8533080Z     Endpoint 'dummyrace1' is offline — nothing to attach to.
2026-06-23T07:01:21.8533353Z       spt endpoint run --adapter <adapter> --id dummyrace1   to start it
2026-06-23T07:01:21.8533524Z 
2026-06-23T07:01:21.8533591Z     === endpoint run stderr ===
2026-06-23T07:01:21.8533817Z     ENDPOINT_RUN:dummyrace1 adapter=dummyharness session=01271e7c571a5fc1 pid=40952
2026-06-23T07:01:21.8534062Z     PUMP_IPC_READER: spawned
2026-06-23T07:01:21.8534158Z 
2026-06-23T07:01:21.8534205Z     === brain stderr ===
2026-06-23T07:01:21.8534471Z     ELEVATED_DAEMON: no unelevated identity to drop to — serving with the elevated token
2026-06-23T07:01:21.8534891Z     BRAIN_UP: connected to broker spt-daemon-broker-d69529802c436887.sock (pid 145172, generation 0, start-reason cold)
2026-06-23T07:01:21.8535817Z     BRAIN_NET_CONSUMERS_UP: net enabled (node d7d66448fd0b074dc2cfe2ea0d1b0ba826119b2200350bad69ff2a388ac7de18) — dispatcher + peer pump started
2026-06-23T07:01:21.8536202Z     PUMP_IPC_READER: spawned
2026-06-23T07:01:21.8536421Z     LIVENESS_RECONCILE_OFFLINE:dummyrace1: no live broker session (dead harness)
2026-06-23T07:01:21.8536606Z 
2026-06-23T07:01:21.8536608Z 
2026-06-23T07:01:21.8536837Z     thread 'endpoint_run_attach_awaits_online_before_attaching' (113360) panicked at crates\spt\tests\dummy_harness_e2e.rs:595:5:
2026-06-23T07:01:21.8537914Z     `spt endpoint run` WITHOUT --start (attach-by-default) against a known-OFFLINE id must await the re-spawned endpoint coming ONLINE before attaching, then DELIVER its live DUMMY_HARNESS_TICK — instead the immediate attach read the still-OFFLINE status and bailed (bailed_offline=true bailed_no_session=false, 128 stdout bytes, no heartbeat).
2026-06-23T07:01:21.8538726Z     === endpoint run stdout ===
2026-06-23T07:01:21.8538935Z     Endpoint 'dummyrace1' is offline — nothing to attach to.
2026-06-23T07:01:21.8539191Z       spt endpoint run --adapter <adapter> --id dummyrace1   to start it
2026-06-23T07:01:21.8539350Z 
2026-06-23T07:01:21.8539402Z     === endpoint run stderr ===
2026-06-23T07:01:21.8539626Z     ENDPOINT_RUN:dummyrace1 adapter=dummyharness session=01271e7c571a5fc1 pid=40952
2026-06-23T07:01:21.8539871Z     PUMP_IPC_READER: spawned
2026-06-23T07:01:21.8539957Z 
2026-06-23T07:01:21.8540008Z     === brain stderr ===
2026-06-23T07:01:21.8540267Z     ELEVATED_DAEMON: no unelevated identity to drop to — serving with the elevated token
2026-06-23T07:01:21.8540674Z     BRAIN_UP: connected to broker spt-daemon-broker-d69529802c436887.sock (pid 145172, generation 0, start-reason cold)
2026-06-23T07:01:21.8541268Z     BRAIN_NET_CONSUMERS_UP: net enabled (node d7d66448fd0b074dc2cfe2ea0d1b0ba826119b2200350bad69ff2a388ac7de18) — dispatcher + peer pump started
2026-06-23T07:01:21.8541643Z     PUMP_IPC_READER: spawned
2026-06-23T07:01:21.8541855Z     LIVENESS_RECONCILE_OFFLINE:dummyrace1: no live broker session (dead harness)
2026-06-23T07:01:21.8542053Z 
2026-06-23T07:01:21.8542185Z     note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2026-06-23T07:01:21.8542396Z 
2026-06-23T07:01:25.2842222Z         PASS [   3.431s] ( 9/91) spt::dummy_harness_e2e endpoint_run_brings_up_a_long_lived_dummy_harness_and_rc_attaches
2026-06-23T07:01:25.9650587Z         PASS [   0.681s] (10/91) spt::gateway_owner_shell_e2e gateway_typed_owner_owns_a_shell_on_every_path_keyed_on_id
2026-06-23T07:01:30.3046279Z         PASS [   4.339s] (11/91) spt::job_escape_e2e win::cold_start_daemon_escapes_kill_on_close_job_via_wmi
2026-06-23T07:01:33.0198443Z         PASS [   2.715s] (12/91) spt::job_escape_e2e win::wmi_daemon_run_has_no_conhost_window
2026-06-23T07:01:42.6426586Z         PASS [   9.623s] (13/91) spt::livehost_bootgate_e2e cold_start_does_not_revive_a_sessionless_online_latched_perch
2026-06-23T07:02:03.5565227Z         PASS [  20.914s] (14/91) spt::livehost_bootrace_e2e netless_online_live_agent_is_hosted_by_the_real_daemon_brain
2026-06-23T07:02:16.7441226Z         PASS [  13.188s] (15/91) spt::livehost_nonresident_e2e online_live_agent_with_fast_exiting_psyche_stamps_parent_and_clears_phantom
2026-06-23T07:02:23.6022814Z         PASS [   6.858s] (16/91) spt::livehost_psyche_fail_e2e online_live_agent_with_missing_psyche_binary_stamps_a_harness_reachable_error
2026-06-23T07:02:23.6136803Z         PASS [   0.011s] (17/91) spt::n1_pairing new_brain_serves_against_old_broker
2026-06-23T07:02:23.6359817Z         PASS [   0.022s] (18/91) spt::oneliner_e2e at_logon_task_launches_daemon_in_background_not_foreground
2026-06-23T07:02:23.6416539Z         PASS [   0.006s] (19/91) spt::oneliner_e2e install_script_against_staged_release
2026-06-23T07:02:30.7950610Z         PASS [   7.153s] (20/91) spt::resume_template_e2e endpoint_run_resume_selects_resume_template_in_recorded_cwd
2026-06-23T07:02:43.4391917Z         PASS [  12.644s] (21/91) spt::unhost_psyche_reap_e2e endpoint_stop_reaps_the_hosted_psyche_process
2026-06-23T07:02:43.6015556Z         PASS [   0.162s] (22/91) spt-daemon::attach attach_registers_remote_drive_detection
2026-06-23T07:02:43.7474995Z         PASS [   0.146s] (23/91) spt-daemon::attach attach_survives_target_brain_restart_exactly_once
2026-06-23T07:02:43.8081254Z         PASS [   0.061s] (24/91) spt-daemon::attach broker_spawns_the_pty_child_in_the_requested_cwd
2026-06-23T07:02:43.8838754Z         PASS [   0.076s] (25/91) spt-daemon::attach controller_restart_with_viewer_no_displace_and_viewer_survives
2026-06-23T07:02:43.9384504Z         PASS [   0.055s] (26/91) spt-daemon::attach controller_viewer_matrix_and_loud_take
2026-06-23T07:02:43.9614535Z         PASS [   0.023s] (27/91) spt-daemon::attach handoff_seeds_resume_cursor_and_resubscribes_for_resume
2026-06-23T07:02:44.0362838Z         PASS [   0.075s] (28/91) spt-daemon::attach local_attach_via_loopback_conn_rides_the_same_pump
2026-06-23T07:02:44.1254486Z         PASS [   0.089s] (29/91) spt-daemon::attach loopback_attach_to_a_prepopulated_ring_delivers_without_deadlock
2026-06-23T07:02:44.1982184Z         PASS [   0.073s] (30/91) spt-daemon::attach loopback_self_dial_is_refused_local_uses_fallback_transport
2026-06-23T07:02:44.2317162Z         PASS [   0.033s] (31/91) spt-daemon::attach re_serve_resets_resume_cursor_after_a_pre_attached_consume
2026-06-23T07:02:44.3679015Z         PASS [   0.136s] (32/91) spt-daemon::attach remote_attach_drives_a_real_pty_cross_daemon
2026-06-23T07:02:44.4278755Z         PASS [   0.060s] (33/91) spt-daemon::attach resize_is_controller_exclusive
2026-06-23T07:02:44.5091715Z         PASS [   0.081s] (34/91) spt-daemon::attach same_origin_re_subscribe_does_not_displace
2026-06-23T07:02:44.6396640Z         PASS [   0.130s] (35/91) spt-daemon::attach spt_hosted_bringup_then_cross_node_attach_drives_the_pty
2026-06-23T07:02:46.9990460Z         PASS [   2.359s] (36/91) spt-daemon::attach wedged_viewer_does_not_stall_controller
2026-06-23T07:02:47.0370714Z         PASS [   0.038s] (37/91) spt-daemon::brain_swap brain_only_update_swaps_logic_with_zero_endpoint_interruption
2026-06-23T07:02:47.0681549Z         PASS [   0.031s] (38/91) spt-daemon::broker ack_false_input_suppresses_applied_frame
2026-06-23T07:02:47.0986500Z         PASS [   0.030s] (39/91) spt-daemon::broker broker_hosts_pty_child_streams_output_and_accepts_input
2026-06-23T07:02:47.1638354Z         PASS [   0.065s] (40/91) spt-daemon::broker controller_writer_reorder_consumer_view_stays_monotonic_and_session_live
2026-06-23T07:02:47.1979971Z         PASS [   0.034s] (41/91) spt-daemon::broker dead_session_subscribe_does_not_hang
2026-06-23T07:02:47.2280726Z         PASS [   0.030s] (42/91) spt-daemon::broker endpoint_keyed_inject_reaches_hosted_pty
2026-06-23T07:02:47.3704708Z         PASS [   0.142s] (43/91) spt-daemon::broker exactly_once_preserved_on_no_ack_path
2026-06-23T07:02:47.4061668Z         PASS [   0.036s] (44/91) spt-daemon::broker spawn_env_reaches_child
2026-06-23T07:02:47.4632599Z         PASS [   0.057s] (45/91) spt-daemon::broker wall_b_endpoint_run_env_then_send_reaches_pty
2026-06-23T07:02:47.4712402Z         PASS [   0.008s] (46/91) spt-daemon::budget measure_dormant_seat_budget
2026-06-23T07:02:50.5887507Z         PASS [   3.117s] (47/91) spt-daemon::daemon_e2e daemon_hosts_lifecycle_and_survives_brain_restart
2026-06-23T07:02:57.0240928Z         PASS [   6.435s] (48/91) spt-daemon::daemon_lifecycle_real_brain real_brain_process_hosts_the_psyche_for_an_online_live_endpoint
2026-06-23T07:02:57.2519777Z         PASS [   0.228s] (49/91) spt-daemon::digest harness_hosted_digest_projects_and_pushes_deltas
2026-06-23T07:02:57.2624996Z         PASS [   0.011s] (50/91) spt-daemon::dispatch classify_routes_a_node_label_feed_to_registry
2026-06-23T07:02:57.4296435Z         PASS [   0.167s] (51/91) spt-daemon::dispatch dispatcher_applies_a_notif_feed_undriven
2026-06-23T07:02:58.4986114Z         PASS [   1.069s] (52/91) spt-daemon::dispatch dispatcher_funnels_wan_messages_undriven
2026-06-23T07:02:58.7594649Z         PASS [   0.261s] (53/91) spt-daemon::dispatch dispatcher_serves_a_cross_node_shell_link
2026-06-23T07:02:58.8897004Z         PASS [   0.130s] (54/91) spt-daemon::dispatch dispatcher_serves_a_file_fetch_undriven
2026-06-23T07:02:59.0601804Z         PASS [   0.170s] (55/91) spt-daemon::dispatch dispatcher_serves_a_remote_drive_attach_undriven
2026-06-23T07:02:59.2574616Z         PASS [   0.197s] (56/91) spt-daemon::dispatch dispatcher_serves_a_subnet_serve_probe
2026-06-23T07:03:00.5124840Z         PASS [   1.255s] (57/91) spt-daemon::dispatch dispatcher_serves_a_sync_pull_undriven
2026-06-23T07:03:00.6560846Z         PASS [   0.144s] (58/91) spt-daemon::dispatch dispatcher_serves_an_update_pull_undriven
2026-06-23T07:03:00.9467992Z         PASS [   0.291s] (59/91) spt-daemon::dispatch dispatcher_surfaces_a_remote_won_notif_at_the_winning_node
2026-06-23T07:03:01.1396984Z         PASS [   0.193s] (60/91) spt-daemon::dispatch dispatcher_survives_an_unknown_stream
2026-06-23T07:03:01.6524004Z         PASS [   0.513s] (61/91) spt-daemon::driven_by_selfheal gap_a_live_session_controller_by_is_ambiguous_so_reconcile_must_not_clear
2026-06-23T07:03:01.6885667Z         PASS [   0.036s] (62/91) spt-daemon::driven_by_selfheal gap_b_sessionless_perch_reconcile_offlines_and_clears_driven_by
2026-06-23T07:03:01.8924196Z         PASS [   0.204s] (63/91) spt-daemon::handoff brain_restart_survives_gaplessly_with_fresh_gen_start
2026-06-23T07:03:01.9389209Z         PASS [   0.046s] (64/91) spt-daemon::idempotent pty_writes_are_exactly_once_across_brain_crashes
2026-06-23T07:03:05.1890078Z         PASS [   3.250s] (65/91) spt-daemon::inject_control_wedge a_backed_up_controller_does_not_wedge_the_session
2026-06-23T07:03:08.1989683Z         PASS [   3.010s] (66/91) spt-daemon::inject_control_wedge a_journaled_input_wedge_does_not_starve_a_concurrent_rc_attach
2026-06-23T07:03:20.6359820Z         PASS [  12.437s] (67/91) spt-daemon::inject_control_wedge g1_choreography_happy_path_payload_reaches_pty_and_controller_keeps_control
2026-06-23T07:03:21.2706521Z         PASS [   0.635s] (68/91) spt-daemon::inject_control_wedge g2_no_commit_deadline_faults_binary_and_does_not_wedge_controller_input
2026-06-23T07:03:22.6732268Z         PASS [   1.402s] (69/91) spt-daemon::inject_control_wedge g3_content_free_ping_never_duplicates_operator_keystrokes_into_binary
2026-06-23T07:03:23.2940408Z         PASS [   0.621s] (70/91) spt-daemon::inject_control_wedge g4_translation_child_is_reaped_no_zombie_after_session_down
2026-06-23T07:03:23.7439440Z         PASS [   0.450s] (71/91) spt-daemon::inject_control_wedge injecting_a_large_payload_into_a_stdin_ignoring_child
2026-06-23T07:03:26.7505439Z         PASS [   3.007s] (72/91) spt-daemon::inject_control_wedge p0_paste_wedge_parked_write_does_not_starve_attach_or_wedge_broker
2026-06-23T07:03:27.2718529Z         PASS [   0.521s] (73/91) spt-daemon::inject_control_wedge w5_a1_locally_driven_session_reports_controller_by_none
2026-06-23T07:03:31.5526277Z         PASS [   4.281s] (74/91) spt-daemon::inject_control_wedge w5_a2_abandoned_remote_controller_conn_close_eviction_is_platform_divergent
2026-06-23T07:04:03.5636985Z         PASS [  32.011s] (75/91) spt-daemon::input_ack_deadlock input_flood_through_serve_attach_does_not_deadlock_broker
2026-06-23T07:04:05.9950602Z         PASS [   2.431s] (76/91) spt-daemon::resume cold_start_resumes_all_sessions_from_the_broker_cursor
2026-06-23T07:04:10.3731808Z         PASS [   4.378s] (77/91) spt-daemon::resume resume_below_ring_floor_clamps_forward_without_gap_error
2026-06-23T07:04:11.6461531Z         PASS [   1.273s] (78/91) spt-daemon::resume resume_mode_brain_spawning_new_sessions_delivers_each
2026-06-23T07:04:12.4125965Z         PASS [   0.766s] (79/91) spt-daemon::shellchan hung_shell_stalls_no_other_owner
2026-06-23T07:04:12.5826535Z         PASS [   0.170s] (80/91) spt-daemon::shellchan stdin_receipt_delivers_spooled_frames_exactly_once
2026-06-23T07:04:12.7075361Z         PASS [   0.125s] (81/91) spt-daemon::two_origin_spanning one_source_two_consumers_spans_and_merges
2026-06-23T07:04:12.7179929Z         PASS [   0.010s] (82/91) spt-daemon::twohost two_host_ladder_role_a
2026-06-23T07:04:12.7273130Z         PASS [   0.009s] (83/91) spt-daemon::twohost two_host_ladder_role_b
2026-06-23T07:04:12.7576445Z         PASS [   0.030s] (84/91) spt-term::dsr conpty_output_not_withheld_under_the_drain
2026-06-23T07:04:12.7876470Z         PASS [   0.030s] (85/91) spt-term::dsr drain_forwards_child_output
2026-06-23T07:04:12.8267398Z         PASS [   0.039s] (86/91) spt-term::inject ctrl_c_interrupts_the_child
2026-06-23T07:04:12.8747043Z         PASS [   0.048s] (87/91) spt-term::inject send_line_reaches_child_and_preserves_order
2026-06-23T07:04:13.8962948Z         PASS [   1.021s] (88/91) spt-term::stream bounded_backpressure_stalls_an_unconsumed_reader
2026-06-23T07:04:13.9245957Z         PASS [   0.028s] (89/91) spt-term::stream delivers_every_value_under_resize
2026-06-23T07:04:13.9422367Z         PASS [   0.018s] (90/91) spt-term::surface resize_under_load_does_not_hang_or_panic
2026-06-23T07:04:13.9604448Z         PASS [   0.018s] (91/91) spt-term::winspawn pty_spawns_a_cmd_script_via_cmd_wrap
2026-06-23T07:04:13.9605076Z ────────────
2026-06-23T07:04:13.9605373Z      Summary [ 241.440s] 91 tests run: 90 passed, 1 failed, 0 skipped
2026-06-23T07:04:13.9605924Z         FAIL [   7.263s] ( 8/91) spt::dummy_harness_e2e endpoint_run_attach_awaits_online_before_attaching
2026-06-23T07:04:13.9642135Z error: test run failed
2026-06-23T07:04:14.0272994Z ##[error]Process completed with exit code 1.
